#include<iostream>
using namespace std;
int main()
{
  int n;
  cin>>n;
  (n>9&&n<100)?cout<<"1":cout<<"0";
}